//
// created by zhangyan, all rights reserved.
//

#ifndef __DIYLANE_BUSINESS_SERVICE_USER_H
#define __DIYLANE_BUSINESS_SERVICE_USER_H

#include "business/arguments.hpp"
#include "business/error.hpp"
#include "business/result.hpp"
#include "modules/loggger/logger.hpp"
#include "modules/postgres.hpp"
#include "business/sqlpp_aliases.hpp"

#include "business/models/t_user.h"
#include "business/models/t_user_profile.h"
#include "business/models/t_user_counters.h"
#include "business/models/t_user_counters_real.h"

namespace diylane
{
namespace service
{
struct User : postgres::PooledWorker
{

    User()
    {
    }
    ~User()
    {
    }

    // singleton helper
    static User &singleton(void *uniquePtr = NULL)
    {
        static User *singletonPointer = NULL;
        if (uniquePtr)
            singletonPointer = (User *)uniquePtr;
        return *singletonPointer;
    }

    void get(const Arguments &args, Result &result)
    {
    }
};
}
}

#endif
